﻿<UserControl x:Class="ScrumTable.UI.View.WinTouch.UserControls.HtmlRichText.Controls.RichTextHtmlBox" x:Name="uxRichTextEditor"    
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:asis="clr-namespace:ScrumTable.UI.View.WinTouch.UserControls.HtmlRichText.AttachedProperties" xmlns:Converter="clr-namespace:ScrumTable.UI.View.Converter;assembly=ScrumTable.UI.View" HorizontalAlignment="Stretch"  VerticalAlignment="Stretch" BorderThickness="0"  Background="Transparent">  
    <!--
    <UserControl.Resources>
        <Converter:ConverterRemoveHtmlTags x:Key="RemoveTags" MaxCharCount="100"></Converter:ConverterRemoveHtmlTags>
    </UserControl.Resources>
    -->
    
    <Grid>
        <TextBlock Name="mainRTB" TextWrapping="Wrap" Text="{Binding Path=Text, ElementName=uxRichTextEditor, Converter={StaticResource RemoveTags}}"  Margin="0,0,0,0" />            
    </Grid>
</UserControl>
